#ifndef PLAYER_H
#define PLAYER_H
#include "GameObject.h"
enum KEY_STATE
{
	IDLE = 0,
	LEFT_PRESSED,
	RIGHT_PRESSED
};
class Player : public GameObject
{
public:
	Player(long long id, int x, int y);
	~Player(void);

	virtual void DestroyData(void);
	virtual void Copy(void* address);
	virtual void Draw(void);
	virtual void Update(void);
	virtual int GetObjSize(void);
	virtual SDL_Texture* GetTexture(void);

	void SetKeyState(KEY_STATE keyState);
	KEY_STATE GetKeyState(void);

private:
	KEY_STATE	m_keyState;
	int			m_speed;
};

#endif